<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:with="title='信访',active='visit'">
<header th:replace="comm/header::headerFragment(${title},${active})"></header>
<link th:href="@{/admin/plugins/tagsinput/jquery.tagsinput.css}" rel="stylesheet"/>
<!-- <link th:href="@{/admin/plugins/select2.dist.css/select2-bootstrap.css}" rel="stylesheet"/> -->
<link th:href="@{/admin/plugins/toggles/toggles.css}" rel="stylesheet"/>
<link th:href="@{/admin/plugins/md/css/style.css}" rel="stylesheet"/>
<style>
    #tags_tagsinput {
        background-color: #fafafa;
        border: 1px solid #eeeeee;
    }

    #tags_addTag input {
        width: 100%;
    }

    #tags_addTag {
        margin-top: -5px;
    }
    
     #dropzone {
        margin-bottom: 3rem;
    }

    .dropzone {
        border: 2px dashed #0087F7;
        border-radius: 5px;
        background: white;
    }

    .dropzone .dz-message {
        font-weight: 400;
    }

    .dropzone .dz-message .note {
        font-size: 0.8em;
        font-weight: 200;
        display: block;
        margin-top: 1.4rem;
    }

    .attach-img {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        box-shadow: 0px 0px 8px #333;
    }

    .attach-text {
        font-size: 12px;
        font-weight: 300;
    }

    .attach-img:hover {
        background-color: #f9f9f9;
    }
    .n-invalid {border:1px solid #c00;}
    
    
#localResizeIMGView div{
	width:100%;
	height:100%;
	position:relative;
}
#localResizeIMGView div s{
	width:25px;
	height:25px;
	background-color:#F60;
	border: 0px none;
	border-radius: 5px;
	position:absolute;
	float:right;
	top:0px;
	right:0px;
	display:block;
    
</style>

<body class="fixed-left">
<input id="id" th:value="${id}" style="display: none;">
<div id="wrapper">
    <div th:replace="comm/header::header-body"></div>
    <div class="content-page">
        <div class="content">
            <div class="container">
            <h4 class="page-title"><a th:href="@{/visit/letter/list}">信访</a>->详情</h4>
                <div class="row">
                    <div class="col-md-8">
                      <div class="text-center">
              			  <h4 id="title"></h4>
              			  <br>
              			  <br>
              			  <br>
                	    </div>
                                <form class="form-horizontal" role="form" id="global-form" >
                                 <input th:value="${id}" style="display: none;" name="id">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">信访人：</label>
                                        <div class="col-md-6">
                                        <span id="name" class="form-control"  ></span>
                                        </div>
                                    </div>
                                      <div class="form-group">
                                        <label class="col-sm-2 control-label">性别：</label>
                                        <div class="col-md-6">
                                        <span id="sexName" class="form-control"  ></span>
                                        </div>
                                    </div>
                                      <div class="form-group">
                                        <label class="col-sm-2 control-label">身份证号：</label>
                                        <div class="col-md-6">
                                        <span id="idCard" class="form-control"  ></span>
                                        </div>
                                    </div>
                                     <div class="form-group">
                                        <label class="col-sm-2 control-label">手机号：</label>
                                        <div class="col-md-6">
                                        <span id="phone" class="form-control"  ></span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">现居住地：</label>
                                        <div class="col-md-6">
                                        <span id="address"  class="form-control" ></span>
                                        </div>
                                    </div>
                                    <br>
                                    <div class="form-group">
		                             <label class="col-sm-2 control-label">信访内容:</label>
		                             <div class="col-md-8">
		                             <br>
		                              <div id="content" class=""  ></div>
										</div>
									</div>
                                     <div class="form-group">
                                     <label class="col-sm-2 control-label">附件内容:</label>
                                    <div class="col-md-6" >
                                    <br>
                                     <div id="files">
                                     
                                     </div>
                                     </div>
                                    </div>
                                    
                            <div class="clearfix"></div>
                            <div class="text-center">
                                <a  th:href="@{/visit/letter/list}" class="btn btn-primary waves-effect waves-light">
                                   	 	返回
                                </a>
                               <a  th:href="@{/visit/letter/edit/{id}(id=${id})}" class="btn btn-primary waves-effect waves-light">
                                   	 	编辑
                                </a>
                            </div>
                        </form>
                    </div>
                </div>
                <div th:replace="comm/footer :: footer-content"></div>
            </div>
        </div>
    </div>
</div>
<div th:replace="comm/footer :: footer"></div>
<script type="text/javascript">
$(function() {
    $('.demo-cancel-click').click(function(){return false;});
     var uls = $('.sidebar-nav > ul > *').clone();
     uls.addClass('visible-xs');
     });
</script>
<script th:src="@{/admin/plugins/tagsinput/jquery.tagsinput.min.js}"></script>
<!-- editor.md -->
<script th:src="@{//cdn.bootcss.com/jquery-toggles/2.0.4/toggles.min.js}"></script>
<script th:src="@{/js/visit/letter/detail.js}"></script>
</body>
</html>